Range Buckets Registry entry

Define range buckets for a field (i.e. when fine-tuning Range Indexing).

Usage

This Registry entry is assigned at the system level only:

Key System
Key 1 System
Key 2 Setting
Key 3 Table
Key 4 table
Key 5 Range Buckets
Key 6 column
Value bucket;bucket;...

where:

table

is the name of the Vitalware module that contains the field to be configured.

column

is the name of the field (this can be determined by using the What's this help? facility in the Vitalware client, or via the vwindexing command).

bucket;bucket;...

is a semicolon separated list of values to be used for range buckets. The format of the value depends on the field type.

It is important to make sure that the values specified are all fully qualified. In particular, full date values are required. The table below shows what constitutes a fully qualified value for each field type:

Field Type

Format

Examples

Integer n -10, 12, 25
Float n.nnnn -23.0, -5, 2.125, 10
Date yyyy-mm-dd 2003-10-23, 2008-03-17
Time hh:mm:ss.sss 10:30:00, 18:00:00.000
Latitude dd:mm:ss.sss:D 9:12:15.1:N, 35:06:01:S
Longitude ddd:mm:ss.sss:D 123:34:06.34:W

Example

In this example the D.O.B. field has range buckets of 2000-01-01, 2003-01-01, 2006-01-01 and 2009-01-01. This entry may be used to set these buckets:

Field

Setting

Key 1 System
Key 2 Setting
Key 3 Table
Key 4 ebirths
Key 5 Range Buckets
Key 6 ChildDateOfBirth
Value 2000-01-01;2003-01-02;2006-01-01;2009-01-01